package com.lyeducation.sfexpressutil;

import com.sf.openapi.common.entity.AppInfo;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 获取顺丰token所需的id key配置
 */
public class SFExpressAppInfo extends AppInfo {
    @Autowired
    private SfExpressConfig sfExpressConfig;

    public SFExpressAppInfo() {
        this.setAppId(sfExpressConfig.getAppId());
        this.setAppKey(sfExpressConfig.getAppKey());
    }
}
